#include "string.hpp"
#include <string>
#include <iostream>
using namespace std;

my_string::string getstring()
{
    my_string::string str = "123465";
    return str;
}
void test_string()
{
    my_string::string str = "123465";
    // cout << str << endl;
    my_string::string str2 = {'a', 'b', 'c'};
    // cout << str2 << endl;
    // my_string::string str3 = move(str);
    // cout << str3 << endl;
    // my_string::string str4 = str2;
    // cout << str4 << endl;

    my_string::string str5(str.begin(),str.end());
    cout << str5 << endl;
    str5.insert(2,str2);
    cout << str5 << endl;
    str5.erase(2,str2.size());
    cout << str5 << endl;

    string str6;
    cin >> str6;
    cout << str6 << endl;


}
int main()
{
    test_string();
    return 0;
}